package com.xsh.gls.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Order {
    private Integer id;

    private Integer customerId;

    private String recipients;

    private String country;

    private Integer shippingType;

    private String zipCode;

    private String state;

    private String city;

    private String address;

    private String aPhone;

    private String remarks;

    private Integer trackingNumber;

    private Integer waybillNo;

    private String orderNumber;

    private String cargoCode;

    private Integer bookingid;

    private Integer shpnoticename;

    private String exportorgname;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date createtime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date ordertime;

    private Integer salesmanid;

    private String sname;

    private String cname;

    private Integer statusid;

    private Integer depotid;

    private String policyno;

    private String bPhone;

    private String declareno;

    private String incode;

    private String declarelocpath;

    private String declarepicpath;

    private Integer custype;

    private Integer goodsno;

    private Date intime;

    private Date outtime;

    private Date finshtime;
    private double money;
    private Customer customer;
    private  String orderStatus;

    private String senderName;
    private String addressee;
    private String addServices;
    private String selfServices;
    private String goodDescription;
    private Integer goodWeight;
    private Integer goodVolume;

    private String typeName;

    private Integer ocount;

    public Integer getOcount() {
        return ocount;
    }

    public void setOcount(Integer ocount) {
        this.ocount = ocount;
    }

    public String getGoodDescription() {
        return goodDescription;
    }

    public void setGoodDescription(String goodDescription) {
        this.goodDescription = goodDescription;
    }

    public Integer getGoodWeight() {
        return goodWeight;
    }

    public void setGoodWeight(Integer goodWeight) {
        this.goodWeight = goodWeight;
    }

    public Integer getGoodVolume() {
        return goodVolume;
    }

    public void setGoodVolume(Integer goodVolume) {
        this.goodVolume = goodVolume;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getAddServices() {
        return addServices;
    }

    public void setAddServices(String addServices) {
        this.addServices = addServices;
    }

    public String getSelfServices() {
        return selfServices;
    }

    public void setSelfServices(String selfServices) {
        this.selfServices = selfServices;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    //其他表的属性
    private Integer spelno;

    private  String reqNo;

    private  Integer SONO;

    private  String shipName;

    private  String shipCount;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ETD;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ETA;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private  Date closingTime;

    private String loadingport;

    private String dischargeport;

    private  String companyName;

    public String getCname() {
        return cname;
    }
    private String  insureLocPath;
    private  String customerName;

    private String cAddress;

    private String cUsername;


    private String  insurePicPath;

    private String notifyparty;

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getRecipients() {
        return recipients;
    }

    public void setRecipients(String recipients) {
        this.recipients = recipients;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getShippingType() {
        return shippingType;
    }

    public void setShippingType(Integer shippingType) {
        this.shippingType = shippingType;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getaPhone() {
        return aPhone;
    }

    public void setaPhone(String aPhone) {
        this.aPhone = aPhone;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(Integer trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public Integer getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(Integer waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getCargoCode() {
        return cargoCode;
    }

    public void setCargoCode(String cargoCode) {
        this.cargoCode = cargoCode;
    }

    public Integer getBookingid() {
        return bookingid;
    }

    public void setBookingid(Integer bookingid) {
        this.bookingid = bookingid;
    }

    public Integer getShpnoticename() {
        return shpnoticename;
    }

    public void setShpnoticename(Integer shpnoticename) {
        this.shpnoticename = shpnoticename;
    }

    public String getExportorgname() {
        return exportorgname;
    }

    public void setExportorgname(String exportorgname) {
        this.exportorgname = exportorgname;
    }
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public Integer getSalesmanid() {
        return salesmanid;
    }

    public void setSalesmanid(Integer salesmanid) {
        this.salesmanid = salesmanid;
    }

    public Integer getStatusid() {
        return statusid;
    }

    public void setStatusid(Integer statusid) {
        this.statusid = statusid;
    }

    public Integer getDepotid() {
        return depotid;
    }

    public void setDepotid(Integer depotid) {
        this.depotid = depotid;
    }

    public String getPolicyno() {
        return policyno;
    }

    public void setPolicyno(String policyno) {
        this.policyno = policyno;
    }

    public String getbPhone() {
        return bPhone;
    }

    public void setbPhone(String bPhone) {
        this.bPhone = bPhone;
    }

    public String getDeclareno() {
        return declareno;
    }

    public void setDeclareno(String declareno) {
        this.declareno = declareno;
    }

    public String getIncode() {
        return incode;
    }

    public void setIncode(String incode) {
        this.incode = incode;
    }

    public String getDeclarelocpath() {
        return declarelocpath;
    }

    public void setDeclarelocpath(String declarelocpath) {
        this.declarelocpath = declarelocpath;
    }

    public String getDeclarepicpath() {
        return declarepicpath;
    }

    public void setDeclarepicpath(String declarepicpath) {
        this.declarepicpath = declarepicpath;
    }

    public Integer getCustype() {
        return custype;
    }

    public void setCustype(Integer custype) {
        this.custype = custype;
    }

    public Integer getGoodsno() {
        return goodsno;
    }

    public void setGoodsno(Integer goodsno) {
        this.goodsno = goodsno;
    }

    public Date getIntime() {
        return intime;
    }

    public void setIntime(Date intime) {
        this.intime = intime;
    }

    public Date getOuttime() {
        return outtime;
    }

    public void setOuttime(Date outtime) {
        this.outtime = outtime;
    }

    public Date getFinshtime() {
        return finshtime;
    }

    public void setFinshtime(Date finshtime) {
        this.finshtime = finshtime;
    }

    public Integer getSpelno() {
        return spelno;
    }

    public void setSpelno(Integer spelno) {
        this.spelno = spelno;
    }

    public String getReqNo() {
        return reqNo;
    }

    public void setReqNo(String reqNo) {
        this.reqNo = reqNo;
    }

    public Integer getSONO() {
        return SONO;
    }

    public void setSONO(Integer SONO) {
        this.SONO = SONO;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    public String getShipCount() {
        return shipCount;
    }

    public void setShipCount(String shipCount) {
        this.shipCount = shipCount;
    }

    public Date getETD() {
        return ETD;
    }

    public void setETD(Date ETD) {
        this.ETD = ETD;
    }

    public Date getETA() {
        return ETA;
    }

    public void setETA(Date ETA) {
        this.ETA = ETA;
    }

    public Date getClosingTime() {
        return closingTime;
    }

    public void setClosingTime(Date closingTime) {
        this.closingTime = closingTime;
    }

    public String getLoadingport() {
        return loadingport;
    }

    public void setLoadingport(String loadingport) {
        this.loadingport = loadingport;
    }

    public String getDischargeport() {
        return dischargeport;
    }

    public void setDischargeport(String dischargeport) {
        this.dischargeport = dischargeport;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }



    public String getInsureLocPath() {
        return insureLocPath;
    }

    public void setInsureLocPath(String insureLocPath) {
        this.insureLocPath = insureLocPath;
    }

    public String getInsurePicPath() {
        return insurePicPath;
    }

    public void setInsurePicPath(String insurePicPath) {
        this.insurePicPath = insurePicPath;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress;
    }

    public String getcUsername() {
        return cUsername;
    }

    public void setcUsername(String cUsername) {
        this.cUsername = cUsername;
    }



    public String getNotifyparty() {
        return notifyparty;
    }

    public void setNotifyparty(String notifyparty) {
        this.notifyparty = notifyparty;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }


    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}